package com.triones.yjj.service;

import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
import com.triones.yjj.entity.WithdrawalRecordDO;
import com.triones.yjj.entity.bo.WithdrawalListParams;
import com.triones.yjj.entity.vo.WithdrawalRecordVO;

/**
 * 提现 service 接口
 *
 * @Author: triones
 */
public interface WithdrawalRecordService {

    /**
     * 提现申请
     * @param dto
     * @return
     */
    boolean withdrawalApply(WithdrawalRecordDO dto);

    /**
     * 提现明细列表
     * @param params
     * @param pageQuery
     * @return
     */
    TableDataInfo<WithdrawalRecordVO> withdrawalPageList(WithdrawalListParams params, PageQuery pageQuery);

    /**
     * 提现申请编辑
     * @param dto
     * @return
     */
    boolean withdrawalApplyEdit(WithdrawalRecordDO dto);
}
